package gdufs.stat.service.vo;

import java.util.Date;

public class LoanInfo {

	/**
	 * 书名
	 */
	private String title;
	/**
	 * 作者
	 */
	private String author;
	
	/**
	 * 借阅时间
	 */
	private Date openDate;
	
	/**
	 * 更新时间
	 */
	private Date updateDate;
	
	/**
	 * 到期时间
	 */
	private Date dueDate;
	/**
	 * 滞纳金
	 */
	private float currentFine;
	
	 /**
	 * 是否已到期
	 */
	private boolean expired = false;
	
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Date getDueDate() {
		return dueDate;
	}
	public void setDueDate(Date dueDate) {
		this.dueDate = dueDate;
	}
	public float getCurrentFine() {
		return currentFine;
	}
	public void setCurrentFine(float currentFine) {
		this.currentFine = currentFine;
	}
	public Date getOpenDate() {
		return openDate;
	}
	public void setOpenDate(Date openDate) {
		this.openDate = openDate;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
	public boolean isExpired() {
		return expired;
	}
	public void setExpired(boolean expired) {
		this.expired = expired;
	}
	@Override
	public String toString() {
		return "LoanInfo [title=" + title + ", author=" + author
				+ ", openDate=" + openDate + ", updateDate=" + updateDate
				+ ", dueDate=" + dueDate + ", currentFine=" + currentFine
				+ ", expired=" + expired + "]";
	}
	
}
